<table class="tables">
<tr>
    <th>Tabulka</th>
    <th>Popis</th>
    <th>Akce</th>
</tr>
<? foreach ($tables as $t) { $iter++; ?> 
<tr<? if ($iter % 2 == 0) echo " class=\"even\"" ?>>
    <td style="width: 150px">
    <a href="Table.php?table=<?=$t["name"]?>"><? if (!empty($t["title"])) echo $t["title"]; else echo $t["name"]?></a>
    </td>
    <td><? if (!empty($t["note"])) echo $t["note"]; else echo "Popis není";?></td>
    <td style="width: 60px">
    <a href="Table.php?table=<?=$t["name"]?>"><img src="./templates/icons/magnifier.png" /></a>
    <a href="TableSettings.php?table=<?=$t["name"]?>" onclick="return GB_showCenter('Nastavení tabulky', this.href, 400, 600)"><img src="./templates/icons/table_gear.png" /></a>
    </td>
</tr>
<? } ?>
</table>